import {
    get,
    post
} from '../utils/request'

export const getAreatext = (data) => {
    return post(`/cloud-system/region/getRegionString?provinceCode=${data.provinceCode}&cityCode=${data.cityCode}&districtCode=${data.districtCode}`)
}

export const getAreaData = (parentCode) => {
    return get("/cloud-system/region/lazy-list", {
        parentCode
    })
}